package cn.sciento.autoconfigure.file;

import cn.sciento.core.jackson.annotation.EnableObjectMapper;
import cn.sciento.resource.annoation.EnableSTongResourceServer;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * <p>
 * 自动配置
 * </p>
 *
 */
@ComponentScan(value = {
        "cn.sciento.file.api",
        "cn.sciento.file.app",
        "cn.sciento.file.config",
        "cn.sciento.file.domain",
        "cn.sciento.file.infra",
})
@EnableSTongResourceServer
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@EnableAsync
@EnableObjectMapper
@EnableFeignClients("cn.sciento.file")
@Configuration
public class FileAutoConfiguration {

}
